//
//  TTDianpuSwitchCellModel.m
//  TaoTuo
//
//  Created by admin on 2019/11/6.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTDianpuSwitchCellModel.h"

@implementation TTDianpuSwitchCellModel

+ (id)setModelWithTitle:(NSString *)title placeholder:(NSString *)placeholder content:(NSString *)content isOn:(BOOL)isOn clickSwitchBlock:(nonnull ClickSwitchBlock)switchBlock field:(nonnull NSString *)field
{
    TTDianpuSwitchCellModel *model = [self setModelWithTitle:title placeholder:placeholder content:content field:field];
    model.on = isOn;
    model.switchBlock = switchBlock;
    return model;
}

@end
